﻿@model bool?

@if (Model.HasValue)
{
    if (Model.Value == true)
    {
        <text>Yes</text>
    }
    else
    {
        <text>No</text>
    }
}